import{onEnter,isWeiXin} from '../../utils';
module.exports = {
	path: 'userCenter',
	onEnter: isWeiXin()? onEnter :()=>{},
	childRoutes: [
		require('./actMan'),
		require('./famMan'),
		require('./famInfo'),
		require('./myQrcode'),
		require('./changeName'),
		require('./changePhone'),
		require('./orderDetail')
	],
	indexRoute: {
		getComponent(location, cb) {
			require.ensure([], (require) => {
				cb(null, require('../../containers/userCenter/settings').default);
			})
		}
	}
};